package com.cnap.multiclouldmgmt.model.knowledge;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 检查能不能删除
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.knowledge.ErrorConfigModel",description = "故障注入场景")
public class ErrorConfigModel {


    //故障模拟名称
    @ApiModelProperty(value = "故障模拟名称")
    private String errorName;


    //故障资源类型
    @ApiModelProperty(value = "故障资源类型，node，pod，微服务")
    private String errorResType;

    //故障资源类型
    @ApiModelProperty(value = "集群名称")
    private String k8sClusterName;

    //故障资源类型
    @ApiModelProperty(value = "节点名称")
    private String nodeName;


    //故障资源类型
    @ApiModelProperty(value = "容器组名称")
    private String podName;


    @ApiModelProperty(value = "微服务id")
    private String microSvcId;


    //故障模拟内容
    @ApiModelProperty(value = "故障模拟内容")
    private String errorKey;

    //故障模拟参数
    @ApiModelProperty(value = "故障模拟参数")
    private List<String> errorParams;

    /**
     * get
     *
     * @return ErrorResType
     */
    public String getErrorResType() {
        return errorResType;
    }

    /**
     * set
     *
     * @param errorResType errorResType
     */
    public void setErrorResType(String errorResType) {
        this.errorResType = errorResType;
    }

    /**
     * get
     *
     * @return K8sClusterName
     */
    public String getK8sClusterName() {
        return k8sClusterName;
    }

    /**
     * set
     *
     * @param k8sClusterName k8sClusterName
     */
    public void setK8sClusterName(String k8sClusterName) {
        this.k8sClusterName = k8sClusterName;
    }

    /**
     * get
     *
     * @return NodeName
     */
    public String getNodeName() {
        return nodeName;
    }

    /**
     * set
     *
     * @param nodeName nodeName
     */
    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    /**
     * get
     *
     * @return PodName
     */
    public String getPodName() {
        return podName;
    }

    /**
     * set
     *
     * @param podName podName
     */
    public void setPodName(String podName) {
        this.podName = podName;
    }

    /**
     * get
     *
     * @return MicroSvcId
     */
    public String getMicroSvcId() {
        return microSvcId;
    }

    /**
     * set
     *
     * @param microSvcId microSvcId
     */
    public void setMicroSvcId(String microSvcId) {
        this.microSvcId = microSvcId;
    }

    /**
     * get
     *
     * @return ErrorName
     */
    public String getErrorName() {
        return errorName;
    }

    /**
     * set
     *
     * @param errorName errorName
     */
    public void setErrorName(String errorName) {
        this.errorName = errorName;
    }

    /**
     * get
     *
     * @return ErrorKey
     */
    public String getErrorKey() {
        return errorKey;
    }

    /**
     * set
     *
     * @param errorKey errorKey
     */
    public void setErrorKey(String errorKey) {
        this.errorKey = errorKey;
    }

    /**
     * get
     *
     * @return ErrorParams
     */
    public List<String> getErrorParams() {
        return errorParams;
    }

    /**
     * set
     *
     * @param errorParams errorParams
     */
    public void setErrorParams(List<String> errorParams) {
        this.errorParams = errorParams;
    }
}
